// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   Role.java

package com.hfstu.pms.model;

import com.google.common.collect.Sets;
import com.hfstu.framework.model.PersistentNode;
import java.util.Set;
import org.apache.commons.lang3.builder.ToStringBuilder;

// Referenced classes of package com.hfstu.pms.model:
//			RoleGroup

public class Role extends PersistentNode
{

	private RoleGroup roleGroup;
	private String systemCode;
	private Set users;

	public Role()
	{
		users = Sets.newHashSet();
	}

	public RoleGroup getRoleGroup()
	{
		return roleGroup;
	}

	public void setRoleGroup(RoleGroup roleGroup)
	{
		this.roleGroup = roleGroup;
	}

	public Set getUsers()
	{
		return users;
	}

	public void setUsers(Set users)
	{
		this.users = users;
	}

	public String getSystemCode()
	{
		return systemCode;
	}

	public void setSystemCode(String systemCode)
	{
		this.systemCode = systemCode;
	}

	public String toString()
	{
		return ToStringBuilder.reflectionToString(this);
	}
}
